package cn.tanghan.hikaricp.service.impl;

import cn.tanghan.hikaricp.entity.master.User;
import cn.tanghan.hikaricp.mapper.master.UserMapper;
import cn.tanghan.hikaricp.service.UserService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @author tanghan
 */
@Service
public class UserServiceImpl implements UserService {
    @Resource
    private UserMapper userMapper;

    @Override
    public List<User> getList() {
        return userMapper.getAll();
    }
}
